// pages/template/template.ts
Page({
  data: {
    list: [1, 2, 3, 4, 5],
    lists: [],
    foods: ['饺子', '火锅'],
    foodsArray: [{
      id: 1,
      name: '饺子'
    }, {
      id: 2,
      name: '火锅',
    }, {
      id: 3,
      name: '串串',
    }],
  }
})